package gat.domain.service.tg.impl;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;
import gat.convertor.tg.ChatBindRecordReqDtoConvertor;
import gat.convertor.tg.ChatBindRecordResDtoConvertor;
import gat.domain.service.tg.ChatBindRecordDomainService;
import gat.infrastructure.persistence.dao.tg.ChatBindRecordMapper;
import gat.infrastructure.persistence.po.tg.ChatBindRecordPo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("chatBindRecordDomainService")
public class ChatBindRecordDomainServiceImpl implements ChatBindRecordDomainService {

    @Autowired
    private ChatBindRecordReqDtoConvertor chatBindRecordReqDtoConvertor;

    @Autowired
    private ChatBindRecordResDtoConvertor chatBindRecordResDtoConvertor;

    private IPService<ChatBindRecordPo> chatBindRecordPoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public ChatBindRecordDomainServiceImpl(ChatBindRecordMapper chatBindRecordMapper) {
        this.chatBindRecordPoService = new BasePService(chatBindRecordMapper);
    }
}